﻿<!DOCTYPE html> 
<html>
    <head>
        <meta charset="utf-8">
        <meta name="viewport" content="width=device-width, initial-scale=1">

        <!-- PhoneGap Script support -->
		<script src="scripts/cordova-2.0.0.js" type="text/javascript"></script>
		
		<!-- MOBILE SCRIPTS -->
		<link rel="stylesheet" href="styles/mobiscroll-2.0.1.custom.min.css" />
		<!--link rel="stylesheet" href="styles/jquery.mobile-1.2.0-alpha.1.rtl.css" /-->
		<link rel="stylesheet" type="text/css" href="styles/jquery.mobile.custom.theme.rtl.css"/>
		<link rel="stylesheet" href="styles/rotterweb.css" />
		<script src="scripts/jquery-1.7.1.min.js"></script>
		<script src="scripts/jquery.mobile.custom.min.js"></script>
		<!--script src="scripts/jquery.mobile-1.2.0-alpha.1.min.js"></script-->
		<script src="scripts/jquery.tmpl.min.js" type="text/javascript"></script>
		<script src="scripts/mobiscroll-2.0.1.custom.min.js" type="text/javascript"></script>
		<script src="scripts/iscroll.js" type="text/javascript"></script>

        <script src="scripts/EventDispatcher.js" type="text/javascript"></script>

		<!-- MANAGERS SCRIPTS -->
		<script src="managers/Config.js" type="text/javascript"></script>
        <script src="managers/TemplateManager.js" type="text/javascript"></script>
		<script src="managers/PageManager.js" type="text/javascript"></script>
        <script src="managers/HTTPManager.js" type="text/javascript"></script>
        <script src="managers/Utils.js" type="text/javascript"></script>
		<script src="managers/Parser.js" type="text/javascript"></script>
        
        <!-- PAGES SCRIPTS -->
        <script src="scripts/pages/forums.js" type="text/javascript"></script>
		<script src="scripts/pages/forum_posts.js" type="text/javascript"></script>
		<script src="scripts/pages/post.js" type="text/javascript"></script>
		<script src="scripts/pages/new_post.js" type="text/javascript"></script>
		<script src="scripts/pages/bookmarks.js" type="text/javascript"></script>
		<script src="scripts/pages/login.js" type="text/javascript"></script>
		<script src="scripts/pages/settings.js" type="text/javascript"></script>
		
		<link rel="stylesheet" type="text/css" href="styles/general.css"/>
		
        <title>הפורום האקסקלוסיבי של רוטר</title>
		<style type="text/css" media="all">
		body,ul,li {
			padding:0;
			margin:0;
			border:0;
		}
		</style>
        <script type="application/javascript">
			window.addEventListener("load", function(e) {
                $.mobile.loadingMessageTextVisible=true;
				if (Utils.isAndroid()) {
					$.mobile.defaultPageTransition = 'none';
                    document.addEventListener("menubutton", function(e) {
						toggleFooter();
					}, false);
				}
				
				$.mobile.dialog.prototype.options.closeBtnText = "";
				$.support.cors = true;
				HTTPManager.init();
				PageManager.init();
				PagesScripts.login.checkLogin();
			});
			
			function toggleFooter() {
				if (($("div[data-role='footer']").is(":visible"))) {
					$("#wrapper").css("bottom", "0px");
				}
				else {
					$("#wrapper").css("bottom", "60px");
				}
				if (myScroll) {
					myScroll.refresh();
				}
				$("div[data-role='footer']").slideToggle(1);
			}
        </script>
    </head>
    <body>
    </body>
</html>